/*
 * @Author: 胡晓星
 * @Date: 2024-09-04 17:46:25
 * @LastEditors: 胡晓星
 * @LastEditTime: 2024-09-09 18:04:19
 * @FilePath: g:\nodePre\rsba-serve\src\modules\player\player.module.ts
 * @Description: 
 */

import { Global, Module } from '@nestjs/common';
import { PlayerService } from './player.service';
import { PlayerController } from './player.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Player } from './player.entity';
import { Team } from './Team.entity';
// import { Profile } from './profile.entity';
// import { Role } from '@/modules/role/role.entity';

@Global()
@Module({
  imports: [TypeOrmModule.forFeature([Player, Team])],
  controllers: [PlayerController],
  providers: [PlayerService],
  //   exports: [PlayerService],
})
export class PlayerModule {}
 